﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UCL.Powersource;

namespace PowersourceUIToolkit.Test
{
    [Export(typeof(TestViewModel))]
    class TestViewModel : ViewModelBase
    {

        private string _Title = "This title";
        public string Title
        {
            get { return _Title; }
            set
            {
                _Title = value;
                NotifyOfPropertyChange(() => Title);
            }
        }

        protected override bool OnInitializing()
        {
            return true;
        }

        protected override bool OnActivating()
        {
            return true;
        }

        protected override bool OnDeactivating()
        {
            return true;
        }

        protected override void OnDisposing()
        {
            return ;
        }
    }
}
